/**
 * 
 */
package br.srv.full.virtual.entities.i18n;

import java.io.Serializable;

/**
 * @author Delfino
 * 
 */
public class PkFriendlyText implements Serializable {

	private String locale;
	private String text;

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object p_obj) {
		boolean l_equals = p_obj instanceof PkFriendlyText;
		if (l_equals) {
			PkFriendlyText l_pk = (PkFriendlyText) p_obj;
			l_equals &= locale.equals(l_pk.locale);
			l_equals &= text.equals(l_pk.text);
		}
		return l_equals;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		return super.hashCode();
	}
}
